home *** CD-ROM | disk | FTP | other *** search
- /*
- File: SimpliFace2Common.h
-
- Contains: Common C++ and Rez include file for TSimpliFace2.
-
-
- Developed by:
-
- Paul G Smith (commstalk hq & Full Moon Software, Inc)
-
- you can leave messages at (UK): 0727 844232; (US): 408 253 7199
- BUT I prefer to be contacted by e-mail
- AppleLink: COMMSTALK.HQ
- Internet: COMMSTALK.HQ@applelink.apple.com
-
- "SimpliFace2" Sample code to accompany develop article
- on techniques for controlling script inheritance.
-
-
-
-
- */
-
- #ifndef __SimpliFace2COMMON__
- #define __SimpliFace2COMMON__
-
-
- // the following flag is used to determine whether SimpliFace2 uses
- // OSA-style inheritance (if flag defined) or AppleScript inheritance
-
- #define qUseOSAinheritance 1
- // #undef qUseOSAinheritance
-
-
-
- #define kSignature 'SIMF'
-
- #define kProgName "SimpliFace2"
- #define kVersion "1.1b1"
-
- #define kVersMajor 1
- #define kVersMinor 1
- #define kVersKind beta
- #define kVersRev 1
-
- #define kProgNameP "\pSimpliFace2"
- #define kVersionP "\p1.1b1"
-
-
- #include "SimpliFace2Events.h"
-
-
- #define kSimpliFace2SimpleTypes 1001 /* list of longs defining simple types */
-
- #define kSimpliFace2Buzzwords 1001 /* misc strings */
- #define kAppDefaultFileName 1 /* index into misc strings */
- #define kPreferencesFileName 2
- #define kStartupScriptFileName 3
-
- #define kSimpliFace2ErrStrings 258 /* error strings */
- #define kWindowStackerLibraryMissing 1 /* index into error strings */
-
- #define rMenuBar 128 /* application's menu bar */
- #define rAboutAlert 128 /* about alert */
- #define rDocWindow 128 /* application's window */
- #define rFolderDialog 130 /* dialog for choosing a folder */
-
-
- #define mApple 128 /* Apple menu */
- #define iAbout 1
-
- #define mFile 129 /* File menu */
- #define iClose 1
- #define iQuit 2
-
- #define mEdit 130 /* Edit menu */
- #define iUndo 1
- #define iCut 3
- #define iCopy 4
- #define iPaste 5
- #define iClear 6
-
-
- #define kTypeListOfLongs 'LNG#'
-
-
- #endif
-